<template>
  <div>
    <el-dialog
      :title="title"
      center
      :visible="open"
      :modal="open"
      @close="close()"
      width="70%"
    >
      <el-form ref="form" :model="form" :rules="rules">
        <el-form-item :label="$t('authority.userFile.form.id')" prop="id">
          <el-input v-model="form.id" />
        </el-form-item>
      </el-form>
      <el-row>
        <el-button
          type="primary"
          plain
          icon="el-icon-plus"
          size="mini"
          @click="handleAddChild"
          v-hasPermi="['user:dictInfo:add']"
          >{{ $t("authority.userFile.form.upload") }}
        </el-button>
      </el-row>
    </el-dialog>
  </div>
</template>
